package com.iflytek.ci.qams.domain;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.iflytek.framework.web.jackson.CustomDateTimeSerializer;

/**
 * <p>
 * issue_action DB domain
 * </p>
 * 
 * @author poplar.mdzhang
 * @since JDK 1.5
 */
public class Action implements Serializable {
	/**
	 * serial version
	 */
	private static final long serialVersionUID = -950855208936202565L;
	/**id */
	private long id;
	
	/** issue*/
	private long issue;
	
	/** action value type*/
	private String action_type;
	
	/** old_value*/
	private String old_value;
	
	/** new_value*/
	private String new_value;
	
	/** action_user*/
	private long action_user;
	
	/**action_username */
	private String action_username;

	/** action_time*/
	@JsonSerialize(using = CustomDateTimeSerializer.class)
	private Date action_time;

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public long getIssue() {
		return issue;
	}

	public void setIssue(long issue) {
		this.issue = issue;
	}

	public String getAction_type() {
		return action_type;
	}

	public void setAction_type(String action_type) {
		this.action_type = action_type;
	}

	public String getOld_value() {
		return old_value;
	}

	public void setOld_value(String old_value) {
		this.old_value = old_value;
	}

	public String getNew_value() {
		return new_value;
	}

	public void setNew_value(String new_value) {
		this.new_value = new_value;
	}

	public long getAction_user() {
		return action_user;
	}

	public void setAction_user(long action_user) {
		this.action_user = action_user;
	}

	public String getAction_username() {
		return action_username;
	}

	public void setAction_username(String action_username) {
		this.action_username = action_username;
	}

	public Date getAction_time() {
		return action_time;
	}

	public void setAction_time(Date action_time) {
		this.action_time = action_time;
	}
}
